#!/usr/bin/env python
from os import *

print '--> START DEPLOYMENT';
app_name='9e6b43db9bdc723923e5f5df0627c40e';

system('rm -rf '+app_name);
checkout_path = 'https://a13919599136536221985b6bbca73102.googlecode.com/svn/'+app_name;
current_path = getcwd();
root_path = current_path+'/'+app_name+'/Source';

print '--> CHECKOUT SOURCE CODE';
system('svn export '+checkout_path+' ./'+app_name);

#print '--> CONFIGURATION';

#print '--> UPDATE DEPLOYMENT';
#system('yes | cp -rf '+root_path+'/deploy/deploy.py '+current_path+'/deploy.py > /dev/null');